OrderedSet Constructor

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List

NameDescription
Public methodOrderedSet<(Of <T>)>OrderedSet<(Of <T>)>New()()
Creates a new OrderedSet. The T must implement IComparable<T> or IComparable. The CompareTo method of this interface will be used to compare items in this set.
Public methodOrderedSet<(Of <T>)>OrderedSet<(Of <T>)>New(IComparer<(Of <T>)>)
Creates a new OrderedSet. The Compare method of the passed comparison object will be used to compare items in this set.
Public methodOrderedSet<(Of <T>)>OrderedSet<(Of <T>)>New(IEnumerable<(Of <T>)>)
Creates a new OrderedSet. The T must implement IComparable<T> or IComparable. The CompareTo method of this interface will be used to compare items in this set. The set is initialized with all the items in the given collection.
Public methodOrderedSet<(Of <T>)>OrderedSet<(Of <T>)>New(Comparison<(Of <T>)>)
Creates a new OrderedSet. The passed delegate will be used to compare items in this set.
Public methodOrderedSet<(Of <T>)>OrderedSet<(Of <T>)>New(IEnumerable<(Of <T>)>, IComparer<(Of <T>)>)
Creates a new OrderedSet. The Compare method of the passed comparison object will be used to compare items in this set. The set is initialized with all the items in the given collection.
Public methodOrderedSet<(Of <T>)>OrderedSet<(Of <T>)>New(IEnumerable<(Of <T>)>, Comparison<(Of <T>)>)
Creates a new OrderedSet. The passed delegate will be used to compare items in this set. The set is initialized with all the items in the given collection.

See Also